package com.quanquan.store.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @ClassName:Admin
 * @Description:TODO
 * @Author:xiongjunbao
 * @Date:2019/3/29 15:35
 * @Version 1.0
 */
@Data
@Entity
@Table(name = "oo_admin")
public class Admin implements Serializable {

    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 核销员名称
     */
    private String name;

    /**
     * 密码
     */
    private String password;

    /**
     * 账号
     */
    private String account;

    /**
     * 账号有效状态 0有效 1无效
     */
    private Integer status;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * 商户id，该商户下的总核销账号
     */
    private String storeId;

    /**
     * 账号级别 1总账号 2子账号
     */
    private Integer level;

}
